import fileinput

TEMPLATE = '''
\033[2;1f
Process bar: ABCDEFGHIJ
'''

VARS = 'ABCDEFGHIJ'

BLOCK = {
        0: '\033[37m░\033[0m',
        1: '\033[31m█\033[0m',
}

globals()['process'] = 0
for v in VARS:
    globals()[v] = 0

stdin = fileinput.input()
print('\033[?25l')
while True:
    pic = TEMPLATE
    for i in range(len(VARS)):
        globals()[VARS[i]] = 0
    for i in range(globals()['process']):
        globals()[VARS[i]] = 1
    for v in VARS:
        pic = pic.replace(v, BLOCK[globals()[v]])
    print('\033[2J')
    print(pic)
    exec(stdin.readline())

